fast calculations by Dinesh sir